
#include <vector>
#include <cstring>

#include "conversation.h"

using namespace std;

vector<Segment> SENTENCES[] = {
    {  // 0
        Segment{"Welcome to the HANGMAN game!", 500},
        Segment{" Do you want to skip the tutorial? ([Y]/n): ", 50}
    },
    {  // 1
        Segment{"OK.", 500},
        Segment{" Let me tell you something about this game.", 50}
    },
    {  // 2
        Segment{"I will give you some words,", 50}
    },
    {  // 3
        Segment{"each term you have to guess a word.", 50},
    },
    {  // 4
        Segment{"You ONLY have 6 chances to guess this word.", 50},
    },
    {  // 5
        Segment{"Now let me tell you how to guess a word", 50}
    },
    {  // 6
        Segment{"You will need to type a letter...", 300},
        Segment{" (type 'E' please...)", 50},
        Segment{"", -1}
    },
    {  // 7
        Segment{"the word contains 'E', so you can go ahead without anything happen.", 50}
    },
    {  // 8
        Segment{"all letters equals the letter you type in the word will be shown, ", 300},
        Segment{"just like this...", 200},
        Segment{"", -1}
    },
    {  // 9
        Segment{"B", 300},
        Segment{"U", 300},
        Segment{"T", 300},
        Segment{"...", 500},
        Segment{"If the word doesn't contains that letter...", 50}
    },
    {  // 10
        Segment{"you will LOSE a chance and", 500},
        Segment{".", 200},
        Segment{".", 200},
        Segment{".", 200},
        Segment{"add a stroke on..."}
    },
    {  // 11
        Segment{"this 'MAN'!", 50},
    },
    {  // 12
        Segment{"If you run out 6 chance...", 50},
    },
    {  // 13
        Segment{"YOU...", 500},
        Segment{"WILL...", 500},
        Segment{"KILL...", 500},
        Segment{"A...", 500},
        Segment{"MAN!!", 50},
        Segment{"", -1}
    },
    {  // 14
        Segment{"OK, that's all of this game.", 50}
    },
    {  // 15
        Segment{"Hope you can enjoy it!", 50}
    },
    {  // 16
        Segment{"Seems that you didn't type 'E'...", 500},
        Segment{"So I type 'E' forcibly...", 50}
    },
    {  // 17
        Segment{"OK, Let's go!", 500},
        Segment{"", -1},
    },
    {  // 18
        Segment{"Enter next tern? ([Y]/n) ", 0}
    },
    {  // 19
        Segment{"OK, let's do this!", 100},
    },
    {  // 20
        Segment{"You got it!", 600},
        Segment{"", -1},
    }
};
